﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace SharpMap.Wpf
{
    public abstract class ContextManager : IEnumerable
    {
        public ItemType GetValue<ItemType>()
        {
            return (ItemType)this.GetValue(typeof(ItemType));
        }

        public abstract object GetValue(Type itemType);
        public abstract void SetValue(object value);

        #region IEnumerable Members

        public abstract IEnumerator GetEnumerator();

        #endregion
    }
}
